package com.thoughtworks.videorental.domain;

import static junit.framework.Assert.*;

import org.junit.Test;

public class NewReleasePriceTest {
	private static final Price NEW_RELEASE_PRICE = new NewReleasePrice();

	@Test
    public void shouldCalculateCorrectChargeForNewReleaseMovie() throws Exception {
    	assertEquals(3.0, NEW_RELEASE_PRICE.getCharge(1));
    	assertNotSame(6.0, NEW_RELEASE_PRICE.getCharge(2));
    	//assertEquals(9.0, NEW_RELEASE_PRICE.getCharge(3));
    }
	
	
	@Test
	public void shoulCalculateChargeForNewReleaseFor1Day(){
		assertEquals(3.0, NEW_RELEASE_PRICE.getCharge(1));
	}
	
	@Test
	public void shoulCalculateChargeForNewReleaseFor2Days(){
		assertEquals(3.0, NEW_RELEASE_PRICE.getCharge(2));
	}
}
